package ma.view.gui.parameterPanels;

import javax.swing.JLabel;

import ma.view.gui.CenterTabbedPane.EBenchmarkTab;
import net.miginfocom.swing.MigLayout;

public class ResultParameterPanel
    extends OutputPanel {

    private static final long serialVersionUID = 1L;    

    public ResultParameterPanel(String panelTitle) {
        super("/img/results.png", panelTitle);        
    }

    @Override
    /*
     * (non-Javadoc)
     * @see ma.view.gui.ParameterPanelsPanel#createPanel()
     */
    protected void createPanel() {
        this.setLayout(new MigLayout());
        this.add(new JLabel("Gesamtergebnisse"), "wrap");
        this.add(parametersPanel);
        parametersPanel.setLayout(new MigLayout("wrap 1"));
        this.add(createImageLabel(logoPath), "top");
        this.setName("Gesamtergebnisse");
        this.putClientProperty("ident", EBenchmarkTab.SHOW_END_RESULTS);
    }

    @Override
    /*
     * (non-Javadoc)
     * @see ma.view.gui.ObserverInterface#update()
     */
    public void update() {
        // There is nothing to do.
    }
}
